package com.gaber.enums;

/**
 * @author gaber
 * @date 2023/7/11 17:53:36
 * @description 枚举类型
 */
enum  Color {
    RED, GREEN, BLUE, WHITE;

    private Color() {
        System.out.println("Constructor called for : " + this.toString());
    }

    public void colorInfo() {
        System.out.println("Universal Color");
    }
}
